I don't understand the sentences, but they both appear to be perfectly grammatical.
As for rules, I am doing my darndest to unlearn all the rules.
(Please click the Thank button if you consider this post helpful. (Probably not.))

Student or Learner